<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>update</title>
    <link rel="stylesheet" href="/css/reset.css">
    <style>

        .updateBc {
            width: 100%;
            height: 100%;
            background-image: url("../img/bg2.jpeg");
            background-size: 100% 100%;
            background-color: darkorange;

        }

        .update {
            width: 500px;
            height: 400px;
            line-height: 60px;

            background-color: rgba(204, 204, 204, 0.5);
            padding: 50px;
            margin: auto;

            box-sizing: border-box;
            text-align: center;
            box-shadow: 0px 0px 5px 5px rgb(32, 99, 109);
            border-radius: 15px;

        }

        button {
            box-shadow: 1px 1px 2px 2px black;
            width: 200px;
        }

        .content {
            font-size: 20px;
            font-family: '宋体';
            font-weight: bold;
        }
        .content>input{
            width: 80px;
            height: 20px;
        }

    </style>
</head>
<body style="margin: 0">
<div style="width: 100%;height: 100%">
<div class="updateBc">
    <div style="height: 150px "></div>
    <div class="update">
        <div class="content">修改密码</div>
        <input type="password" placeholder="请输入旧密码" id="oldPwd"><br>
        <input type="password" placeholder="请输入新密码" id="newPwd"><br>
        <button onclick="updatePwd();">修改</button>
    </div>
    <div style="height: 150px "></div>
    <div id="showInfoDiv"
         style="width: 260px;height: 100px ;background-color: whitesmoke;text-align:center;line-height: 50px;
   border: 2px solid black;visibility: hidden;box-shadow: 1px 1px 3px 2px black;font-size: 16px;font-weight: bold;position: absolute;; left: 25%;top: 20%;z-index: 55;">
        <p id="showInfo"> </p>
        <input type="button" value="确认" onclick="closeDiv('showInfoDiv')">
    </div>
</div>
</div>
</body>
<script src="/js/axios.min.js"></script>
<script src="/js/query.js"></script>
<script src="/userhtml/js/updatepwd.js"></script>
</html>